/* 
 * tables.h
 * Created on July 22, 2005; 4:58 PM
 * by VRamadurai
 */

#ifndef _TABLES_H_
#define _TABLES_H_

/** Rx Tables **/
 extern short twiddle_stage012_total_g[16*3*2];
 extern hs_int16_t iq_scale_g[32];
 extern hs_int16_t iq_bias_g[32];
 extern hs_int16_t  asOnesTable_g[4];
 extern hs_int16_t  asFullRateCckSeqI_g[64*8];
 extern hs_int16_t  asFullRateCckSeqQ_g[64*8]; 
 extern hs_int16_t  asUpSampBarkerSeq_g[24+8];
 extern hs_uint8_t  u8_byte_translate_array_g[4];
 extern hs_int16_t  HalfRateCckSeq_g[64];   
 extern hs_uint8_t  ucStateTable1Bit_g[128];
 extern hs_uint8_t  ucStateTable4Bit_g[128];
 extern hs_uint8_t  ucStateTable2Bit_g[128];
 extern hs_uint32_t aiCrc32Table_4bit_g[16];
 extern hs_uint16_t asCrc16Table_1bit_g[2];  
 extern hs_uint32_t aiCrc32Table_1bit_g[2];  
 extern hs_uint32_t aiCrc32Table_2bit_g[4];
/* 11 mbps tables*/
 extern hs_uint32_t aiCrc32Table_g[256];
 extern hs_uint8_t  ucTranslate_array_g[64];  
 extern hs_uint8_t  ucMapTable_g[64];  
 /* Fixed point Tan table*/
 extern const hs_uint8_t OneByXFormat_g[256];
 extern const hs_uint16_t OneByXTbl_g[256];
 
/* This table is having values of arctan(x). 
 * x is ranging from 0 --> 2 in steps of 1/64 
 * Format is U(1,15) */
 extern const hs_uint16_t usAtanTbl_g[256];

/* This table is having values of slopes of Atan 
 * for the same values of x for which arctan values 
 * are stored in above table. Format is U(0,16) */
 extern const hs_uint16_t usAtanSlope_g[256];

 extern const hs_int16_t ssCosineTable_g[513];

/*
 * Note: If you want to include the hashdefines in declaring the array
 * size then, please include the corresponding header file
 */
/*format ssSineTable A(0,15)*/
 extern const hs_int16_t ssSineTable_g[513];
 
 /** Tx Tables **/
 /*
 extern const hs_uint8_t ucStateTable1Bit_g[128];       
 extern const hs_uint8_t ucStateTable2Bit_g[128];
 extern const hs_uint8_t ucStateTable4Bit_g[128];
 */
 
 extern const hs_uint16_t usDQPSKNew_g[16];

 extern const hs_int16_t ssDBPSKTbl_g[48*2];
 extern const hs_int16_t ssDQPSKTbl_g[96*2];

 extern const hs_int16_t asCckDqpskSeq_g[512];
 extern const hs_uint16_t usCrc16Table_8bit_g[256];
 
 extern hs_int16_t index11IQ_g[2*256];
 extern hs_int16_t QtoIIndex_g[80];
 
 extern hs_int16_t asCckDqpsk11_g[1280];
 extern hs_uint32_t uiCrc32Table_8bit_g[256];

#endif
